
	$(function(){
		var loader = new resLoader({
			resources : [
				'css/cong.woff',
				'css/fang.woff',
				'img/banruo.png',
				'img/jingjin.png',
				'img/shiyuan.png',
				'img/benxin.png',
				'img/bgc.png',
				'img/bore/book.png',
				'img/jiazai.gif',
			],
			onStart : function(total){
				console.log('start:'+total);
			},
			onProgress : function(current, total){
				console.log(current+'/'+total);
			},
			onComplete : function(total){
				$("#jiazai").hide();
				$('.content').show();
			}
		});
		loader.start();
	});
(function(){

	if(window.isready) return;

	window.isready=true;

	window.parseURL=window.parseURL||function (url){
		var search = url.split('?')[1].toString();
		var para = search.split('&');
		var res = {};
		var arr = [];
		for(var i=0,len=para.length;i<len;i++){
			arr = para[i].split('=');
			res[arr[0]] = arr[1];
		}
		return res;
	}
})();
		











